home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 January / EnterCD 01_2004.iso / Multimedia / Advanced Effect Maker Freeware Edition 1.0 / aemf10.exe / {app} / templates / dissolveimage.swf / scripts / frame_4 / DoAction.as
Encoding:
Text File  |  2002-11-11  |  1.1 KB  |  44 lines

  1. debug = 0;
  2. if(0 < debug)
  3. {
  4.    movx = 300;
  5.    movy = 300;
  6.    var urls = new String("http://www.site1.com|http://www.site2.com|http://www.site3.com|http://www.site4.com|");
  7.    tpause = 300;
  8.    maxitems = 2;
  9.    target = "_blank";
  10.    dis = 16711680;
  11. }
  12. else
  13. {
  14.    var movx = parseInt("250",10);
  15.    var movy = parseInt("150",10);
  16.    var urls = "http://www.effectmaker.com/clickpage.html|http://www.effectmaker.com/clickpage.html|http://www.effectmaker.com/clickpage.html|http://www.effectmaker.com/clickpage.html|";
  17.    var tpause = parseInt("300",10);
  18.    var maxitems = parseInt("4",10);
  19.    var target = "_blank";
  20.    var dis = parseInt("255",10);
  21. }
  22. var urls = urls.split("|");
  23. moviearea._width = movx;
  24. moviearea._height = movy;
  25. tpause = int(tpause * 12 / 100);
  26. if(tpause % 2 == 1)
  27. {
  28.    tpause++;
  29. }
  30. pp = 0;
  31. ii = 1;
  32. myp = tpause;
  33. duplicateMovieClip(ma,"mama",17161);
  34. setProperty("mama", _visible, false);
  35. tellTarget("mama")
  36. {
  37.    stop();
  38. }
  39. var today = new Date();
  40. if(!(today.getTime() < _root.ts && _root.ts < today.getTime() + 172800000 || _root.ts == -1))
  41. {
  42.    gotoAndStop("ea");
  43. }
  44.